#pragma once

#include "stdafx.h"

class Pos{
public:
	int x;
	int y;

	Pos(int x=0, int y=0){
		this->x = x;
		this->y = y;
	}

	int getRelativePos(Pos* aPos){
		if( aPos->x > x ){
			if( aPos->y > y )
				return _X_Y;
			else
				return _XY;
		}else{
			if( aPos->y > y )
				return X_Y;
			else
				return XY;
		}
	}
};